<?php
if(!defined('SYSTEM_PATH')) die('Cannot access this page directly or see your configuration file ') ;

class PageController extends Controller {
	public function index() {
		$this->template->add('page/index') ;
	}
	public function __call($method, $params) {
		// Searching for a template file in template/page/ folder :
		if(!$this->template->add($method)) $this->shutdown('The page '.$method.' does not exists') ;
	}
}
?>